CC=c++
LDFLAGS= -Wl,-rpath
CXXFLAGS=-Wall -pedantic  -O4
#CXXFLAGS=-Wall -pedantic  -ggdb -DDEBUG

all: BDEDE


OBJECTS=cec14_test_func.o Self_Define_Functions.o


BDEDE: BDEDE.o $(OBJECTS)
	$(CC) $(CXXFLAGS) -o BDEDE BDEDE.o $(OBJECTS)
BDEDE.o:  BDEDE.cpp
	$(CC) $(CXXFLAGS) -c BDEDE.cpp


cec14_test_func.o:  cec14_test_func.cpp
	$(CC) $(CXXFLAGS) -c cec14_test_func.cpp

Self_Define_Functions.o: Self_Define_Functions.h Self_Define_Functions.cpp
	$(CC) $(CXXFLAGS) -c Self_Define_Functions.cpp


.PHONY : clean clrout
clean:
	rm -f  $(OBJECTS)
	rm -f  *.o

clrout:
	rm -fr result trace out outout

